﻿using BLL.Service.EasierMVC.Test;
using Data.Entity.Test;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using WebApplication.Models.Test;

namespace WebApplication.Controllers
{
    public class TestController : BaseController
    {
        protected readonly ITestUnitOfWork _db;
        public TestController(ITestUnitOfWork db)
            : base(db)
        {
            this._db = db;
        }

        public ActionResult Index()
        {
            var model = new PersonModel { ID = 1, FirstName = "Arash", LastName = "Farahani" };
            return View(model);
        }
	}
}